import request from '@/utils/request'

class shequService {

  /**
   * 删除设备分类
   * @param {*} params 
   */
  categoryDeleteCategory(params) {
    return request({
      url: '/monitor/category/deleteCategory',
      method: 'post',
      data: params
    })
  }

  categoryInsertCatetory(params) {
    return request({
      url: '/monitor/category/insertCatetory',
      method: 'post',
      data: params
    })
  }

  list(params) {
    return request({
      url: '/list',
      method: 'post',
      data: params
    })
  }

  categoryUpdateCategory(params) {
    return request({
      url: '/monitor/category/updateCategory',
      method: 'post',
      data: params
    })
  }

}

export default new shequService()